package cn.zhaoyuening.hnistalumnirecord.web.controller;

import cn.zhaoyuening.hnistalumnirecord.service.AdminUserService;
import cn.zhaoyuening.hnistalumnirecord.service.ConfigItemService;
import cn.zhaoyuening.hnistalumnirecord.service.NewsService;
import cn.zhaoyuening.hnistalumnirecord.service.NewsModuleService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by zhao on 17-1-17.
 */
public class BaseController {

    private NewsService newsService;
    private NewsModuleService moduleService;
    private AdminUserService adminUserService;
    private ConfigItemService configItemService;
    public NewsService getNewsService() {
        return newsService;
    }

    public NewsModuleService getModuleService() {
        return moduleService;
    }

    @Autowired
    public void setNewsService(NewsService newsService) {
        this.newsService = newsService;
    }
    @Autowired
    public void setModuleService(NewsModuleService moduleService) {
        this.moduleService = moduleService;
    }

    @Autowired
    public void setAdminUserService(AdminUserService adminUserService) {
        this.adminUserService = adminUserService;
    }

    public AdminUserService getAdminUserService() {
        return adminUserService;
    }

    @Autowired
    public void setConfigItemService(ConfigItemService configItemService) {
        this.configItemService = configItemService;
    }

    public ConfigItemService getConfigItemService() {
        return configItemService;
    }
}

